package com.woniuxy.controller;

import com.woniuxy.service.rbacManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: java-85-course-code
 * @BelongsPackage: com.woniuxy.controller
 * @Author: LiTongMiao
 * @Date: 2022/2/14 20:25
 * @Description: TODO
 */
@RestController
@RequestMapping("rbacManager")
public class rbacManager {
    @Autowired(required = false)
    rbacManagerService rbacManagerService;

    @RequestMapping("/findAll")
    public String findAll() {
        return rbacManagerService.findAll();
    }
}
